CREATE PROCEDURE [dbo].[sp_sec_DeleteResource]
@PKResource varchar(50)
AS
BEGIN
  BEGIN TRAN A
  DELETE FROM SC_Resource WHERE PKResource = @PKResource;
  IF @@ERROR<>0 BEGIN
    ROLLBACK TRAN A
  END
  COMMIT TRAN A
END